package com.yuedong.down;

import android.app.Application;
import android.content.Context;

public class DownLoadApplication {
    private static Context mContext;

    public static void init(Application application) {
        mContext = application;
    }

    public static Context getmContext() {
        if (null == mContext) {
            throw new IllegalStateException("Please init BaseApplication to Application");
        }
        return mContext;
    }
}
